import request from '@/utils/request'

export function getBannerList(params) {
  return request.get('/admin/banner/index', { params })
}
export function bannerCreate(data) {
  return request.post('/admin/banner/create', data)
}
export function bannerUpdate(data, id) {
  return request.post('/admin/banner/update/id/' + id, data)
}
